<?php
namespace app\index\model;
use think\Model;
class Article extends Model
{
    // 设置完整的数据表（包含前缀）
    //protected $table = 'think_article';

    //自动填写时间戳
    protected $autoWriteTimestamp = 'datetime';
    //创建时间写在数据库字段article_date
    protected $createTime = 'article_date';
    protected $updateTime = false;
    protected $deleteTime = false;
}